//
//  QWebViewVC.h
//  QoilPublic
//
//  Created by 杨凯 on 16/7/5.
//  Copyright © 2016年 杨凯. All rights reserved.
//

#import "QBaseVC.h"
#import <JavaScriptCore/JavaScriptCore.h>

@protocol QJSExport <JSExport>

@end
typedef NS_ENUM(NSInteger, WebStyle) {
    WebLocalityStyle,//加载本地
    WebNetWorkStyle, //加载网络
};
@interface QWebViewVC : QBaseVC


@property (nonatomic,assign)WebStyle style;

@property(nonatomic,copy)NSString *url;

@property (strong, nonatomic) JSContext *context;
@property (nonatomic,copy)NSString *state;
@property (nonatomic,copy)NSString *credentialsId;

@end
